package com.xinzhi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 点赞记录表
 * </p>
 *
 * @author laohan
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="LikeRelations对象", description="点赞记录表")
public class LikeRelations implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "点赞的目标表中记录的id")
    private Integer targetId;

    @ApiModelProperty(value = "点赞的目标表类型")
    private String type;

    @ApiModelProperty(value = "收藏夹id")
    private Integer groupId;

    @ApiModelProperty(value = "权重")
    private Integer weight;

    private Date deletedAt;

    private Date createdAt;

    private Date updatedAt;


}
